package com.beauty.product.document;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ProductAttributeDocument {
    
    @Field(type = FieldType.Text)
    private String name;
    
    @Field(type = FieldType.Text)
    private String value;
    
    @Field(type = FieldType.Integer)
    private Integer sort;
    
    @Field(type = FieldType.Boolean)
    private Boolean isSearchable;
    
    @Field(type = FieldType.Boolean)
    private Boolean isVisible;
} 